package com.nineclock.sign.service;

import com.nineclock.common.entity.PageResult;
import com.nineclock.sign.dto.SignAllUserDTO;
import com.nineclock.sign.dto.SignDTO;

import java.io.IOException;
import java.text.ParseException;
import java.util.List;

public interface SignService {

    void export(String startTime, String endTime) throws IOException;

    PageResult querySignListRecord(String startTime, String endTime, Integer page, Integer pageSize);

    //签到: 移动端签到
    void sign(SignDTO signDTO) throws ParseException;

    //当日打卡次数
    Integer getDayCount();

    //获取团队员工打卡列表
    List<SignAllUserDTO> getListSignAllUser(String dateStr);

    List<SignDTO> queryHistory(String dateStr);
}
